﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Ingredients.Infartructrue.Enit
{
    public  class ExecEnit
    {
 

        public delegate void Myades();
        public delegate string MyFunc(string str);
        public  void Main()
        {
            Myades my = new Myades(show);
            my();

            MyFunc func = (str) => "dwaw";
           
        }

        public void show()
        {
            Console.WriteLine("Hello World");
        }
        public void show1()
        {
            Console.WriteLine("Hello World1");
        }




      

        public string Mains(string str)
        {
            MyFunc my = new MyFunc(Show2);
            return my("Hello World");
        }

        public string Show2(string strs)
        {
            strs = "Hello World2";
            return strs;
        }
        public string Show3(string str)
        {
            str = "Hello World2";
            return str;
        }

    }



}
